import { IsString, IsNotEmpty } from 'class-validator';

export class CreateTeacherDto {
  @IsString()
  @IsNotEmpty()
  tname: string;

  @IsString()
  @IsNotEmpty()
  tdept: string;

  @IsString()
  @IsNotEmpty()
  title: string;
}